﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PrVyd.Zakladni_tridy
{
    class Item
    {
        public String Name { get; set; }
        public String Description { get; set; }
        public Int32 Count { get; set; }
        public Decimal Price { get; set; }
        public Decimal Tax { get; set; }

        public override string ToString()
        {
            return String.Format("{0}, Počet kusů: {1}, Cena: {2}, daň: {3}%", Name, Count.ToString(), Price.ToString(), Tax.ToString());
        }
    }
}
